package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

/**
 * 题库分类
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/8/22 14:33
 */
@Data
@TableName(value = "QUESTION_BANK_TYPE",autoResultMap = true)
@Entity(name = "QUESTION_BANK_TYPE")
@AccEntity(value = "题库分类", type = EntityType.SERVICE_ENTITY)
public class QuestionBankType extends DomainBaseEntity<QuestionBankType> {
    /**
     * 分类名称
     */
    @Column()
    private String name;

    /**
     * 是否显示
     */
    @Column()
    private Boolean isShow;
}
